package com.itheima.HomeWork;

public class Film {
    private String name;//电影名
    private String type;//类型
    private Double grade;//评分

    public Film() {
    }

    public Film(String name, String type, Double grade) {
        this.name = name;
        this.type = type;
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }
}
